package com.ssm.blog.service;

import com.github.pagehelper.PageInfo;
import com.ssm.blog.pojo.Blog;
import com.ssm.blog.pojo.criteria.BlogCriteria;

public interface BlogService {
    void addBlog(Blog blog);

    PageInfo<Blog> getBlogList(BlogCriteria criteria, int pageNum, int pageSize);

    Blog getBlogById(Integer id);
}
